home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Languguage OS 2
/
Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO
/
a_utils
/
perl
/
msds-prl
/
ptchds19.zoo
/
script_t
< prev
next >
Wrap
Text File
|
1992-02-23
|
1KB
|
43 lines
MS-DOS patches to perl.
Apply this patch to the standard perl source, version 4, patch level 19,
using "patch -p." Do this in the root directory of the perl source
distribution.
You can cat all these patches together and pipe the output to patch -p.
Len Reed
Holos Software, Inc.
..!gatech!holos0!lbr
holos0!lbr@gatech.edu
--------------------------------------
*** t/comp/script.t.old Tue Apr 23 22:38:16 1991
--- t/comp/script.t Thu Nov 14 08:57:06 1991
***************
*** 4,9 ****
--- 4,17 ----
print "1..3\n";
+ eval('umask'); # won't work on MS-DOS
+ if ( $@ ) {
+ $rm = $ENV{'ROOTDIR'} . '/bin/rm'; # MS-DOS with MKS kit
+ }
+ else {
+ $rm = '/bin/rm';
+ }
+
$x = `./perl -e 'print "ok\n";'`;
if ($x eq "ok\n") {print "ok 1\n";} else {print "not ok 1\n";}
***************
*** 20,23 ****
if ($x eq "ok\n") {print "ok 3\n";} else {print "not ok 3\n";}
! `/bin/rm -f Comp.script`;
--- 28,31 ----
if ($x eq "ok\n") {print "ok 3\n";} else {print "not ok 3\n";}
! `$rm -f Comp.script`;